package com.yh.patterns.factory.factory_method.factory_method_imageReader;

/**
 * @Auther:云尚学Java
 */
public class Client {
    public static void main(String[] args) {
        ImageReaderFactory factory=new GifReaderFactory();
        ImageReaderFactory factory1=new JpgReaderFactory();

        factory.readImages();

        factory1.readImages();

    }
}
